package com.blogSystem.typeDefine.controller;

import com.blogSystem.typeDefine.client.BaseClient;
import com.blogSystem.typeDefine.client.BaseClientA;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RestController;

@CrossOrigin
@RestController
public class TypeDefineController {
    @Autowired
    private BaseClient baseClient;

    public String getType(String text){

        return baseClient.get_type(text);
    }


}
